<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>vue的双向绑定</title>
</head>
<body>
 <div class="d">
     <!-- v-model双向绑定的指令 -->
    <input type="text" v-model="inputValue">
    <p>{{ inputValue }}</p>
 </div>
<script src="vue.global.js"></script>
<script>
  const vue =Vue.createApp({
     data() {
         return {
             inputValue:''
         }
     }
  }).mount(".d")
</script>
</body>
</html>